<!DOCTYPE html>
<html lang="en" ng-app="super">
<head>
    <meta charset="UTF-8">
    <title>用户管理</title>
    <script src="../lib/jquery/jquery.min.js"></script>
    <script src="../js/common.js"></script>
    <!---->
    <script src="../lib/font/iconfont.js" type="text/javascript"></script>
    <link rel="stylesheet" href="../lib/adminui/web-icons/web-icons.css"/>
    <script src="../lib/laydate/laydate.js" type="text/javascript"></script>
    <link href="../lib/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css"/>
    <link href="../lib/ligerUI/skins/ligerui-icons.css" rel="stylesheet" type="text/css"/>
    <link href="../lib/ligerUI/skins/Gray2014/css/all.css" rel="stylesheet" type="text/css"/>
    <script src="../lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script>
    <!--css-->
    <link rel="stylesheet" href="../css/site.css"/>
    <link rel="stylesheet" href="../css/leftmenu.css"/>
    <link rel="stylesheet" href="../css/common.css">
    <link rel="stylesheet" href="../css/nav.css">
</head>
<body onunload="unloadhtml()" ng-controller="superCtrl">
<div id="left">
    <div style="width: 100%;height:100%;overflow-y: auto">
        <ul class="site-menu" style="padding-bottom: 50%">
            <li id="adminmenu" class="site-menu-item menusel" onclick="showtab('admin')">
                <a class="menu title">
                    <span>管理员</span>
                </a>
            </li>
            <li id="mallmenu" class="site-menu-item" onclick="showtab('mall')">
                <a class="menu title">
                    <span>经销商</span>
                </a>
            </li>
            <li id="searchmenu" class="site-menu-item" onclick="showtab('searchmenu')">
                <a class="menu title">
                    <span>体验信息</span>
                </a>
            </li>
            <li id="employeemenu" class="site-menu-item" onclick="showtab('employee')">
                <a class="menu title">
                    <span>雇员信息</span>
                </a>
            </li>

            <li id="ordermenu" class="site-menu-item" onclick="showtab('order')">
                <a class="menu title">
                    <span>订单信息</span>
                </a>
            </li>
            <li class="site-menu-item" onclick="logout()">
                <a class="menu title">
                    <span>退出登录</span>
                </a>
            </li>
        </ul>
    </div>
</div>
<div id="right">
    <div class="admin">
        <div class="page-container container-fluid">
            <div class="row">
                <div class="panel panel-bordered">
                    <div class="panel-heading">
                        <div class="page-header">
                            <h1 class="page-title">管理员管理</h1>
                        </div>
                    </div>
                    <div class="panel-body">
                        <div class="btnsbox">
                            <button onclick="addadmin.showmoadal()" class="btn btn-dj btn-outline gnbtn">新增</button>
                        </div>
                        <div>
                            <div class="l-loading" id="pageloading"></div>
                            <div style="display: block;position: absolute;z-index: 91000;top: 55%;left: 47%" id="zwsj">
                                暂无数据
                            </div>
                            <div id="maingrid"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="mall">
        <div class="page-container container-fluid">
            <div class="row list">
                <div class="panel panel-bordered">
                    <div class="panel-heading">
                        <div class="page-header">
                            <h1 class="page-title">经销商管理</h1>
                        </div>
                    </div>
                    <div class="panel-body">
                        <div class="btnsbox">
                            <button onclick="modaladd.showmodal()" class="btn btn-dj btn-outline gnbtn">新增</button>
                        </div>
                        <div>
                            <div class="l-loading" id="pageloading1"></div>
                            <div style="display: block;position: absolute;z-index: 91000;top: 55%;left: 47%" id="zwsj1">
                                暂无数据
                            </div>
                            <div id="maingrid1"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row details" style="display: none;">
                <div class="panel panel-bordered">
                    <div class="panel-heading">
                        <div class="page-header">
                            <h1 class="page-title" onclick="malltab2.backhtml()" style="cursor: pointer;">>返回</h1>
                        </div>
                    </div>
                    <div class="panel-body">
                        <div>
                            <h3 class="page-title">{{malltab2data.name}}</h3>
                            <h5 class="page-title">
                                {{malltab2data.province}}{{malltab2data.city}}{{malltab2data.district}}</h5>
                        </div>
                        <ul id="myTab" class="nav nav-tabs">
                            <li class="active home" onclick="malltab2.tabclick('home')">
                                <a data-toggle="tab">设备详情</a></li>
                            <li class="ios" onclick="malltab2.tabclick('ios')">
                                <a data-toggle="tab">门店体验详情</a></li>
                        </ul>
                        <div id="myTabContent" class="tab-content">
                            <div class="tab-pane fade in active" id="home">
                                <table class="devicesTable">
                                    <thead>
                                    <tr>
                                        <th></th>
                                        <th>设备名</th>
                                        <th>设备编号</th>
                                        <th>经销商编号</th>
                                        <th>设备类型</th>
                                        <th>加入时间</th>
                                        <th>设备MAC</th>
                                    </tr>
                                    </thead>
                                    <tbody class="tbodytr" style="max-height: 200px;overflow-y: scroll;">
                                    </tbody>
                                </table>
                                <p class="modaldevices">暂无数据</p>
                            </div>
                            <div class="tab-pane fade" id="ios" style="padding-top: 20px;">
                                <div class="l-loading" id="pageloading2"></div>
                                <div class="modaldevices"
                                     style="display: block;position: absolute;z-index: 91000;top: 55%;left: 47%"
                                     id="zwsj2">
                                    暂无数据
                                </div>
                                <div id="maingrid2"></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="searchmenu">
        <div class="page-container container-fluid">
            <div class="row">
                <div class="panel panel-bordered">
                    <div class="panel-heading">
                        <div class="page-header">
                            <h1 class="page-title">体验信息</h1>
                        </div>
                    </div>
                    <div class="panel-body">
                        <div class="btnsbox">
                            <div class="row" style="padding: 10px 15px;">
                                <div style="padding: 0;float: right;margin-left: 10px;">
                                    <button class="btn btn-dj btn-outline" onclick="updategrid()">搜索</button>
                                </div>
                                <div class="col-sm-2" style="padding: 0;float: right;">
                                    <input id="name" type="text" class="form-control" name="name"
                                           placeholder="输入关键字" autocomplete="off">
                                </div>
                            </div>
                        </div>
                        <div>
                            <div class="l-loading" id="pageloading22"></div>
                            <div style="display: block;position: absolute;z-index: 91000;top: 55%;left: 47%"
                                 id="zwsj22">
                                暂无数据
                            </div>
                            <div id="maingrid22"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="employee">
        <div class="page-container container-fluid">
            <div class="row">
                <div class="panel panel-bordered">
                    <div class="panel-heading">
                        <div class="page-header">
                            <h1 class="page-title">雇员信息</h1>
                        </div>
                    </div>
                    <div class="panel-body">
                        <div>
                            <div class="l-loading" id="pageloading23"></div>
                            <div style="display: block;position: absolute;z-index: 91000;top: 55%;left: 47%"
                                 id="zwsj23">
                                暂无数据
                            </div>
                            <div id="maingrid23"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="order">
        <div class="page-container container-fluid">
            <div class="row">
                <div class="panel panel-bordered">
                    <div class="panel-heading">
                        <div class="page-header">
                            <h1 class="page-title">订单信息</h1>
                        </div>
                    </div>
                    <div class="panel-body">
                        <div class="btnsbox">
                            <div class="row" style="padding: 10px 15px;">
                                <div style="padding: 0;float: right;margin-left: 10px;">
                                    <button class="btn btn-dj btn-outline" onclick="searchOrderInfor()">搜索</button>
                                </div>
                                <div class="col-sm-2" style="padding: 0;float: right;">
                                    <div class="col-sm-4" style="text-align: center;vertical-align: middle;">雇员名:</div>
                                    <div class="col-sm-8">
                                        <input id="employer_name" type="text" class="form-control" name="employer_name"
                                               placeholder="输入雇员名" autocomplete="off"></div>

                                </div>
                                <div class="col-sm-2" style="padding: 0;float: right;">
                                    <div class="col-sm-4" style="text-align: center;vertical-align: middle;">用户名:</div>
                                    <div class="col-sm-8">
                                        <input id="user_name" type="text" class="form-control" name="user_name"
                                               placeholder="输入用户名" autocomplete="off"></div>
                                </div>
                                <div class="col-sm-2" style="padding: 0;float: right;">
                                    <div class="col-sm-4" style="text-align: center;vertical-align: middle;">门店名:</div>
                                    <div class="col-sm-8">
                                        <input id="mall_name" type="text" class="form-control" name="mall_name"
                                               placeholder="输入门店名" autocomplete="off"></div>
                                </div>
                                <div class="col-sm-2" style="padding: 0;float: right;">
                                    <input type="text" id="end_time"/>
                                </div>
                                <div class="col-sm-2" style="padding: 0;float: right;">
                                    <input type="text" id="start_time"/>
                                </div>
                            </div>
                        </div>
                        <div>
                            <div class="l-loading" id="pageloading24"></div>
                            <div style="display: block;position: absolute;z-index: 91000;top: 55%;left: 47%"
                                 id="zwsj24">
                                暂无数据
                            </div>
                            <div id="maingrid24"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!--admin-->
<div class="modal" id="addadminmodal" style="display:none;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header" style="background-color: #f5f5f5;">
                <span data-dismiss="modal" class="close" onclick="addadmin.cancel()">&times;</span>
                <h5 class="title modal-title"></h5>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <div class="example-wrap account">
                        <h4 class="example-title" style="display: inline;">账号(必填)</h4>
                        <h5 class="redtip1">*输入不能为空</h5>
                        <input id="nametext" class="form-control" type="text" value="">
                    </div>
                    <div class="example-wrap pwd">
                        <h4 class="example-title" style="display: inline;">密码(必填)</h4>
                        <h5 class="redtip2">*输入不能为空</h5>
                        <input id="pwdtext" class="form-control" type="text" value="">
                    </div>
                    <div class="example-wrap">
                        <h4 class="example-title" style="display: inline;">电话(非必填)</h4>
                        <h5 class="redtip3">*请输入正确手机号码</h5>
                        <input id="teltext" class="form-control" type="text" value="">
                    </div>
                    <div class="example-wrap auth">
                        <h4 class="example-title">权限选择</h4>
                        <h5 class="redtip4">*请选择权限</h5>
                        <div class="radio-custom radio-primary radio-inline">
                            <input type="radio" id="super_admin" name="auth" value="super_admin"/>
                            <label for="super_admin">super_admin</label>
                        </div>
                        <div class="radio-custom radio-primary radio-inline">
                            <input type="radio" id="admin" name="auth" value="admin" checked>
                            <label for="admin">admin</label>
                        </div>
                    </div>
                </div>
            </div>
            <div class="footer modal-footer" style="padding: 10px 15px 10px;">
                <input class="btn btn-primary" type="button" value="确定" onclick="addsub()"/>
                <button class="btn btn-default" onclick="addadmin.cancel()">取消</button>
            </div>
        </div>
    </div>
</div>
<div class="modal" id="resetpwd" style="display:none;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header" style="background-color: #f5f5f5;">
                <span data-dismiss="modal" class="close" onclick="resetpwd.cancel()">&times;</span>
                <h5 class="title modal-title">重置密码</h5>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <div class="example-wrap">
                        <h4 class="example-title" style="display: inline;">新密码(必填)</h4>
                        <h5 class="redtip21 redtext">*输入不能为空</h5>
                        <input id="pwdreset" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="footer modal-footer" style="padding: 10px 15px 10px;">
                <button class="btn btn-primary" onclick="resetpwd.ok()">确定</button>
                <button class="btn btn-default" onclick="resetpwd.cancel()">取消</button>
            </div>
        </div>
    </div>
</div>
<div class="modal" id="modald" style="display:none;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header" style="background-color: #f5f5f5;">
                <span data-dismiss="modal" class="close" onclick="deleteadmin.cancel()">&times;</span>
                <h5 class="title modal-title">提示</h5>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <h5 id="contentd"></h5>
                </div>
            </div>
            <div class="footer modal-footer" style="padding: 10px 15px 10px;">
                <button class="btn btn-primary" onclick="deleteadmin.ok()">确定</button>
                <button class="btn btn-default" onclick="deleteadmin.cancel()">取消</button>
            </div>
        </div>
    </div>
</div>
<!--mall-->
<div class="modal" id="modaladd" style="display:none;">
    <div class="modal-dialog" style="width: 900px;">
        <div class="modal-content">
            <div class="modal-header" style="background-color: #f5f5f5;padding-bottom: 0;">
                <span data-dismiss="modal" class="close" onclick="modaladd.cancel()">&times;</span>
                <h5 class="title modal-title"></h5>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <div class="row row-lg">
                        <div class="col-sm-6">
                            <div class="example-wrap">
                                <h4 class="example-title">经销商名称</h4>
                                <input id="mallname" class="form-control" type="text" value="">
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <div class="example-wrap">
                                <h4 class="example-title">电话</h4>
                                <h5 class="redtip2">*请输入正确电话</h5>
                                <input id="malltel" class="form-control" type="text" value="">
                            </div>
                        </div>
                    </div>
                    <div class="row row-lg">
                        <div class="col-sm-6">
                            <div class="example-wrap acctmall">
                                <h4 class="example-title">账号(必填)</h4>
                                <h5 class="redtip3">*输入不能为空</h5>
                                <input id="mallact" class="form-control" type="text" value="">
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <div class="example-wrap pwdmall">
                                <h4 class="example-title">密码(必填)</h4>
                                <h5 class="redtip4">*输入不能为空</h5>
                                <input id="mallpwd" class="form-control" type="text" value="">
                            </div>
                        </div>
                    </div>
                    <div class="row row-lg">
                        <div class="col-sm-6">
                            <div class="example-wrap">
                                <h4 class="example-title">设备数量</h4>
                                <input id="devices" class="form-control" type="number" value="">
                            </div>
                        </div>
                    </div>
                    <div class="row row-lg">
                        <div class="col-sm-6">
                            <div class="example-wrap">
                                <h4 class="example-title">所在地址</h4>
                                <form action="#">
                                    <!--省份选择-->
                                    <select id="prov" onchange="showCity(this)">
                                        <option value="">=请选择省份=</option>
                                    </select>
                                    <!--城市选择-->
                                    <select id="city" onchange="showCountry(this)">
                                        <option value="">=请选择城市=</option>
                                    </select>
                                    <!--县区选择-->
                                    <select id="country">
                                        <option value="">=请选择县区=</option>
                                    </select>
                                </form>
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <div class="example-wrap">
                                <h4 class="example-title">乡镇</h4>
                                <input id="malltown" class="form-control" type="text" value="">
                            </div>
                        </div>
                    </div>
                    <div class="row row-lg">
                        <div class="col-sm-6">
                            <div class="example-wrap">
                                <h4 class="example-title">村名</h4>
                                <input id="mallvillage" class="form-control" type="text" value="">
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <div class="example-wrap">
                                <h4 class="example-title">街道</h4>
                                <input id="mallstreet" class="form-control" type="text" value="">
                            </div>
                        </div>
                    </div>
                    <div class="row row-lg">
                        <div class="col-sm-6">
                            <div class="example-wrap">
                                <h4 class="example-title">详细地址</h4>
                                <input id="malladdr" class="form-control" type="text" value="">
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <div class="example-wrap">
                                <h4 class="example-title">发货地址</h4>
                                <input id="sendaddr" class="form-control" type="text" value="">
                            </div>
                        </div>

                    </div>
                </div>
            </div>
            <div class="footer modal-footer" style="padding: 10px 15px 10px;">
                <button class="btn btn-primary" onclick="modaladd.ok()">确定</button>
                <button class="btn btn-default" onclick="modaladd.cancel()">取消</button>
            </div>
        </div>
    </div>
</div>
<div class="modal" id="resetpwd1" style="display:none;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header" style="background-color: #f5f5f5;">
                <span data-dismiss="modal" class="close" onclick="resetpwd1.cancel()">&times;</span>
                <h5 class="title modal-title">重置密码</h5>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <div class="example-wrap">
                        <h4 class="example-title" style="display: inline;">新密码(必填)</h4>
                        <h5 class="redtip22 redtext">*输入不能为空</h5>
                        <input id="pwdreset1" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="footer modal-footer" style="padding: 10px 15px 10px;">
                <button class="btn btn-primary" onclick="resetpwd1.ok()">确定</button>
                <button class="btn btn-default" onclick="resetpwd1.cancel()">取消</button>
            </div>
        </div>
    </div>
</div>
<div class="modal" id="modalm" style="display:none;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header" style="background-color: #f5f5f5;">
                <span data-dismiss="modal" class="close" onclick="deletemall.cancel()">&times;</span>
                <h5 class="title modal-title">提示</h5>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <h5 id="contentm"></h5>
                </div>
            </div>
            <div class="footer modal-footer" style="padding: 10px 15px 10px;">
                <button class="btn btn-primary" onclick="deletemall.ok()">确定</button>
                <button class="btn btn-default" onclick="deletemall.cancel()">取消</button>
            </div>
        </div>
    </div>
</div>
<div class="modal" id="modaldevice" style="display:none;">
    <div class="modal-dialog" style="width: 900px;">
        <div class="modal-content">
            <div class="modal-header" style="background-color: #f5f5f5;">
                <span data-dismiss="modal" class="close" onclick="device.cancel()">&times;</span>
                <h5 class="title modal-title">设备详情</h5>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <table class="devicesTable">
                        <thead>
                        <tr>
                            <th></th>
                            <th>name</th>
                            <th>id</th>
                            <th>mall_id</th>
                            <th>model</th>
                            <th>bind_timestamp</th>
                            <th>device_unique_id</th>
                        </tr>
                        </thead>
                        <tbody class="tbodytr" style="max-height: 200px;overflow-y: scroll;">
                        </tbody>
                    </table>
                    <p class="modaldevices">暂无数据</p>
                </div>
            </div>
            <div class="footer modal-footer" style="padding: 10px 15px 10px;">
                <button class="btn btn-default" onclick="device.cancel()">取消</button>
            </div>
        </div>
    </div>
</div>
<div class="modal" id="modaldetails" style="display:none;">
    <div class="modal-dialog" style="width: 900px;">
        <div class="modal-content">
            <div class="modal-header" style="background-color: #f5f5f5;">
                <span data-dismiss="modal" class="close" onclick="malltab2.canceldetailmodal()">&times;</span>
                <h5 class="title modal-title">门店体验详情</h5>
            </div>
            <div class="modal-body" style="height: 500px;overflow-y: scroll;">
                <div class="form-group">
                    <ul class="lists list-group list-group-dividered list-group-full ullist">
                        <li class="list-group-item">
                            <label class="label1">用户数量:</label>
                            <span>{{deviceObj.user_number}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">睡眠得分:</label>
                            <span>{{deviceObj.sleep_score_value}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">睡眠得分建议:</label>
                            <span>{{deviceObj.sleep_score_suggestion}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">性别:</label>
                            <span ng-if="deviceObj.gender_value==0">男</span>
                            <span ng-if="deviceObj.gender_value==1">女</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">性别建议:</label>
                            <span>{{deviceObj.gender_suggestion}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">年龄:</label>
                            <span>{{deviceObj.age_value}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">年龄建议:</label>
                            <span>{{deviceObj.age_suggestion}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">身高:</label>
                            <span>{{deviceObj.height_value}}cm</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">身高建议:</label>
                            <span>{{deviceObj.height_suggestion}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">体重:</label>
                            <span>{{deviceObj.weight_value}}kg</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">体重建议:</label>
                            <span>{{deviceObj.weight_suggestion}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">bmi指数:</label>
                            <span>{{deviceObj.bmi_value}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">bmi指数建议:</label>
                            <span>{{deviceObj.bmi_suggestion}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">怀孕状态:</label>
                            <span ng-if="deviceObj.pregnant_value==0">备孕</span>
                            <span ng-if="deviceObj.pregnant_value==1">怀孕</span>
                            <span ng-if="deviceObj.pregnant_value==2">产后2年</span>
                            <span ng-if="deviceObj.pregnant_value==3">无</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">怀孕状态建议:</label>
                            <span>{{deviceObj.pregnant_suggestion}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">体质:</label>
                            <span>{{deviceObj.corporeity_value}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">体质建议:</label>
                            <span>{{deviceObj.corporeity_suggestion}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">曾用床垫硬度:</label>
                            <span ng-if="deviceObj.used_mattress_hardness==0">偏软</span>
                            <span ng-if="deviceObj.used_mattress_hardness==1">适中</span>
                            <span ng-if="deviceObj.used_mattress_hardness==2">偏硬</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">推荐床垫硬度:</label>
                            <span ng-if="deviceObj.recommended_mattress_hardness==0">偏软</span>
                            <span ng-if="deviceObj.recommended_mattress_hardness==1">适中</span>
                            <span ng-if="deviceObj.recommended_mattress_hardness==2">偏硬</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">床垫硬度建议:</label>
                            <span>{{deviceObj.mattress_hardness_suggestion}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">腰椎状态:</label>
                            <span ng-if="deviceObj.recommended_mattress_hardness==0">健康</span>
                            <span ng-if="deviceObj.recommended_mattress_hardness==1">亚健康</span>
                            <span ng-if="deviceObj.recommended_mattress_hardness==2">不健康</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">腰椎状态建议:</label>
                            <span>{{deviceObj.lumbar_status_suggestion}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">床垫小结:</label>
                            <span>{{deviceObj.mattress_and_lumbar_info_summary}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">体重差:</label>
                            <span>{{deviceObj.weight_gap_value}}kg</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">体重差建议:</label>
                            <span>{{deviceObj.weight_gap_suggestion}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">睡眠时间差:</label>
                            <span>{{deviceObj.sleep_time_gap_value}}H</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">自身入睡时间:</label>
                            <span>{{deviceObj.self_on_bed_time}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">自身起床时间:</label>
                            <span>{{deviceObj.self_off_bed_time}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">睡伴入睡时间:</label>
                            <span>{{deviceObj.mate_on_bed_time}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">睡伴起床时间:</label>
                            <span>{{deviceObj.mate_off_bed_time}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">睡眠时间差建议:</label>
                            <span>{{deviceObj.sleep_time_gap_suggestion}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">睡伴建议:</label>
                            <span>{{deviceObj.sleep_mate_info_summary}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">睡姿:</label>
                            <span ng-if="deviceObj.sleep_posture_value==0">左侧</span>
                            <span ng-if="deviceObj.sleep_posture_value==1">右侧</span>
                            <span ng-if="deviceObj.sleep_posture_value==2">平躺</span>
                            <span ng-if="deviceObj.sleep_posture_value==3">趴着</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">睡姿建议:</label>
                            <span>{{deviceObj.sleep_posture_suggestion}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">睡眠时长:</label>
                            <span>{{deviceObj.sleep_duration_value}}H</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">睡眠时长建议:</label>
                            <span>{{deviceObj.sleep_duration_suggestion}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">睡伴睡眠时长:</label>
                            <span>{{deviceObj.mate_sleep_duration_value}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">入睡时间:</label>
                            <span>{{deviceObj.fall_sleep_time_value}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">入睡时间建议:</label>
                            <span>{{deviceObj.fall_sleep_time_suggestion}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">打鼾指数:</label>
                            <span>{{deviceObj.snore_rate_value}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">打鼾指数建议:</label>
                            <span>{{deviceObj.snore_rate_suggestion}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">psqi得分:</label>
                            <span>{{deviceObj.psqi_value}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">psqi得分建议:</label>
                            <span>{{deviceObj.psqi_suggestion}}</span>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="footer modal-footer" style="padding: 10px 15px 10px;">
                <button class="btn btn-primary" onclick="malltab2.canceldetailmodal()">确定</button>
            </div>
        </div>
    </div>
</div>
<!---->
<div class="modal" id="modalphone" style="display:none;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header" style="background-color: #f5f5f5;">
                <span data-dismiss="modal" class="close" onclick="getphone.cancelfun()">&times;</span>
                <h5 class="title modal-title">提示</h5>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <h5 id="contentphone">
                        <p>电话号码：<span ng-bind="getphonedata?getphonedata:'--'"></span></p>
                    </h5>
                </div>
            </div>
            <div class="footer modal-footer" style="padding: 10px 15px 10px;">
                <input class="btn btn-primary" type="button" value="确定" onclick="getphone.cancelfun()"/>
            </div>
        </div>
    </div>
</div>

<div class="modal" id="modal" style="display:none;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header" style="background-color: #f5f5f5;">
                <span data-dismiss="modal" class="close" onclick="commonobj.closebackmsg()">&times;</span>
                <h5 class="title modal-title">提示</h5>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <h5 id="content"></h5>
                </div>
            </div>
            <div class="footer modal-footer" style="padding: 10px 15px 10px;">
                <input class="btn btn-primary" type="button" value="确定" onclick="commonobj.closebackmsg()"/>
            </div>
        </div>
    </div>
</div>
<!-- 编辑-->
<div class="modal" id="editmodaldetails" style="display:none;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header" style="background-color: #f5f5f5;">
                <span data-dismiss="modal" class="close" onclick="editOrder.cancelfun()">&times;</span>
                <h5 class="title modal-title">门店体验详情</h5>
            </div>
            <div class="modal-body" style="overflow-y: scroll;">
                <div class="form-group">
                    <ul class="lists list-group list-group-dividered list-group-full ullist">
                        <li class="list-group-item">
                            <label class="label1">订单ID:</label>
                            <span>{{editdata.id}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">门店名称:</label>
                            <span>{{editdata.mall_name}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">用户名称:</label>
                            <span>{{editdata.user_name}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">订单下单雇员名:</label>
                            <span>{{editdata.mall_employer_name}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">recommend_report_id:</label>
                            <span>{{editdata.recommend_report_id}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">邮寄地址:</label>
                            <span>{{editdata.deliver_address}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">下单时间:</label>
                            <span>{{editdata.create_timestamp}}</span>
                        </li>
                        <li class="list-group-item">
                            <label class="label1">状态更新时间:</label>
                            <span>{{editdata.update_timestamp}}</span>
                        </li>
                    </ul>
                    <div style="margin-top:-16px;">
                        <label class="label1">订单状态:</label>
                        <!--订单状态选择-->
                        <select id="orderstatus">
                            <option value="">=请选择状态=</option>
                        </select>
                    </div>
                </div>

            </div>
            <div class="footer modal-footer" style="padding: 10px 15px 10px;">
                <input class="btn btn-primary" type="button" value="确定" onclick="editOrder.okfun()"/>
                <button class="btn btn-default" onclick="editOrder.cancelfun()">取消</button>
            </div>
        </div>
    </div>
</div>
<div class="modal" id="editmodalresult" style="display:none;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header" style="background-color: #f5f5f5;">
                <span data-dismiss="modal" class="close" onclick="editOrder.closebackmsg()">&times;</span>
                <h5 class="title modal-title">提示</h5>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <h5 id="editmodalcontent"></h5>
                </div>
            </div>
            <div class="footer modal-footer" style="padding: 10px 15px 10px;">
                <input class="btn btn-primary" type="button" value="确定" onclick="editOrder.closebackmsg()"/>
            </div>
        </div>
    </div>
</div>
<script src="../js/city.js"></script>
<script src="../lib/angular/angular.js"></script>
<script src="../js/superAdmin.js"></script>
</body>
</html>